﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TileMapEditor.TileEngine
{
    public class TileMapLayer
    {
        int[,] map;
        public TileMapLayer(int width, int height)
        {
            map = new int[height, width];
        }
        public void SetTile(int x, int y, int tileIndex)
        {
            map[y, x] = tileIndex;
        }
        public int GetTile(int x, int y)
        {
            return map[y, x];
        }
    }
}
